package com.zzyl.service;

import com.github.pagehelper.Page;
import com.zzyl.base.PageBean;
import com.zzyl.dto.NursingLevelDto;
import com.zzyl.vo.NursingLevelVo;

import java.util.List;

public interface NursingLevelService {
	/**
	 * 查询护理等级列表
	 * @return
	 */
	List<NursingLevelVo> queryNursingLevelList();
	
	/**
	 * 新增护理等级
	 * @param nursingLevelDto
	 * @return
	 */
	void createNursingLevel(NursingLevelDto nursingLevelDto);
	
	/**
	 * 等级分页查询
	 * @param pageNum
	 * @param pageSize
	 * @param name
	 * @param status
	 * @return
	 */
	PageBean<NursingLevelVo> queryNursingLevelPage(Integer pageNum, Integer pageSize, String name, Integer status);
	
	/**
	 * 查询详情
	 * @param id
	 * @return
	 */
	NursingLevelVo queryNursingLevelDetail(Long id);
	
	/**
	 * 修改护理等级
	 * @param nursingLevelDto
	 * @return
	 */
	void updateNursingLevel(NursingLevelDto nursingLevelDto);
	
	/**
	 * 删除护理等级
	 * @param id
	 * @return
	 */
	void deleteNursingLevel(Long id);
	
	/**
	 * 修改护理等级状态
	 * @param id
	 * @param status
	 * @return
	 */
	void updateNursingLevelStatus(Long id, Integer status);

    List<NursingLevelVo> listAll();

	void InsertAll(NursingLevelDto nursingLevelDto);

	PageBean<NursingLevelVo> PageAll(Integer pageNum, Integer pageSize, String name, Integer status);

	NursingLevelVo GetidAll(Integer id);

	void uqdateidAll(NursingLevelVo nursingLevelVo);

	void DeleteAll(Integer id);

	void BootdisableAll(Integer id, Integer status);
}
